<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 调用栈 函数执行的时候会压入调用栈，当执行完成后出栈
    // 先进后出，后进先出
    function a() {
       console.log('a')
       b()
    }
    function b() {
      console.log('b')
       c()
    }

    function c() {
      console.log('c')
       
    }
    a()
  </script>
</body>
</html>